﻿<ul class="nav pull-right">
    @if (Request.IsAuthenticated)
    {
        <li class="dropdown">
        <a class="dropdown-toggle" href="#" data-toggle="dropdown">
            <i class="icon-user"></i>&nbsp;@User.Identity.Name&nbsp;<span class="caret"></span></a>
            <ul class="dropdown-menu">
                <li><a href="#">Perfil</a></li>
                <li>@Html.ActionLink("Cambiar Contraseña", "ChangePassword", "SGAccount")</li>
                <li class="divider"></li>
                <li>@Html.ActionLink("Cerrar Sesion", "LogOff", "SGAccount")</li>
            </ul>
        </li>
    }
    else
    {
        <li>@Html.ActionLink("Iniciar Sesion", "LogOn", "SGAccount")</li>
    }
</ul>
